Maintaines a list of LSAWebPageItems.
- Version:
-
1.2.4, 23.NOV.2000
<BR>
- History:
| 23.NOV.2000 | RGR | bug in Get WebPageDefaultS
|
| 27.JUL.2000 | RGR | property DefaultWebPage changed
|
| 08.JUN.2000 | RGR | Delete method changed
|
Public Property Get DefaultWebPage AsString
Returns the formatted attribute of the default LSAWebPageItem
of the named list.
- History:
| 27.JUL.2000 | RGR | return empty string if list is empty
|
Public Property Get WebPageList AsVariant
Returns an array of serial data strings. Each entry corresponds to a
web page in the NamedList and can be used to explode the list.
Public Property Get WebPageKeyS AsVariant
Returns an array of string with the keys
of the web pages maintained in the list
Public Property Get WebPageS AsVariant
Returns an array of string filled with the
the formatted attribute of the WebPageItems
maintained by the list
Public Property Get WebPageDefaultS AsVariant
Returns an array of strings. On the position of the DefaultItem of
the list the value is "x"
- History:
| 23.NOV.2000 | RGR | CurrentItemKey Pointer not moved correctly
|
Public Property Get Count AsInteger
Returns the number of elements in the web page list
Public Property Set ListDelimiter AsString
When the object is imploded to a serial data string this character will be used as seperator.
If the programmer doesn't set a delimiter a default value will be delivered by the class.
Public Property Get ListDelimiter AsString
Public Property Set ItemDelimiter AsString
When the an item is imploded to a serial data string this character will be used as seperator.
If the programmer doesn't set a delimiter a default value will be delivered by the class.
Public Property Get ItemDelimiter AsString
Public Property Set NotAllowedChars AsVariant
These characters are not allowed to be use in the items
Public Property Get NotAllowedChars AsVariant
New
Public Sub New
Initialzes the internal NamedLists.
Delete
Public Sub Delete
Default destructor of the class. Deletes all child objects
- History:
| 08.JUN.2000 | RGR | Delete the children
|
AddItem
Public Sub AddItem(NewItem As LSAWebPageItem)
Adds a new LSAWebPageItem to the list
- Parameters:
| newItem | LSAWebPageItem | the item which is inserted in the list
|
ClearCurrentItem
Public Sub ClearCurrentItem
Deletes the current item from the list
ClearAllItems
Public Sub ClearAllItems
Reinitializes the web page list
UpdateCurrentItem
Public Sub UpdateCurrentItem(UpdateItem As LSAWebPageItem)
Updates the current item with the data from the UpdateItem
- Parameters:
| updateItem | LSAWebPageItem | item storing the update information
|
IsDefault
Public Function IsDefault(CompareItem As LSAWebPageItem) As Integer
Checks if the parameter item is the default item of the list.
- Returns:
| Boolean | true, if the item is the default item
|
SetCurrentItem
Public Sub SetCurrentItem(NewCurrentItem As LSAWebPageItem)
Set the current item to the parameter item
SetDefaultItem
Public Sub SetDefaultItem(NewDefaultItem As LSAWebPageItem)
Set the default item to the parameter item
GetItemByKey
Public Function GetItemByKey(ItemKey As String,MoveCurrentItem As Integer) As LSAWebPageItem
GetDefaultItem
Public Function GetDefaultItem As LSAWebPageItem
Returns the default item of the list.
- Returns:
| LSAWebPageItem | the default item
|
GetCurrentItem
Public Function GetCurrentItem As LSAWebPageItem
Returns the current item of the list
- Returns:
| LSAWebPageItem | item which the current pointer is pointing at
|
GetFirstItem
Public Function GetFirstItem As LSAWebPageItem
Returns the first item of the list
- Returns:
| LSAWebPageItem | the first item in the list
|
GetNextItem
Public Function GetNextItem As LSAWebPageItem
Returns the item next to the current item of the list.
- Returns:
| LSAWebPageItem | next item to the current item
|
GetPreviousItem
Public Function GetPreviousItem As LSAWebPageItem
saveToPredefinedFields
Public Function saveToPredefinedFields(doc As NotesDocument) As Integer
Stores attribute values for the convinience of the programmer. The
fields of documents relate to the subform LSASubWebPage from LSL-Address
The attribute are only stored if they differ from the values on disk.
- Parameters:
| doc | NotesDocument | the document in which the attributes are stored
|
- Returns:
| Boolean | true, if an item of the document has been changed
|
Explode
Public Sub Explode(SerialDataArr As Variant)
Fills the list with the serialized object provided by the parameter array
The array should be of th form
[~~~Homepage~www.acme.com~www.acme.com,
~~x~Sales Info~www.acme.com/sales~www.acme.com/sales]
The list also reinitialized this means hasChanged delivers false.
- Parameters:
| SerialdataArr | Variant | array of serial data strings each entry representing an item
|
hasChanged
Public Function hasChanged As Integer
Checks if the list has been modified since creation or the last call of the explode
method.
getWebPageData
Public Function getWebPageData As String
Interface for the class LSAAddressData. Calculates a string of the
type ##LotusW# as used in the default data string
of an unit
| Top | LotusScript Doc |
| © Lotus Professional Services |
| generated on : 05-Apr-01 8:45:33 AM |